﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Lhz.Sc.Entity.Database
{
    [DataContract(IsReference = true)]
    public class Service : DatabaseEntity
    {
        [DataMember]
        public virtual Guid ApplicationGuid { get; set; }

        [DataMember]
        public virtual Application Application { get; set; }

        [DataMember]
        public virtual string No { get; set; }

        [DataMember]
        public virtual string Name { get; set; }

        [DataMember]
        public virtual string Url { get; set; }

        [DataMember]
        public virtual string Description { get; set; }

        [DataMember]
        public virtual IList<Operation> Operations { get; set; }
    }
}
